Einhugur macOS Bridge plugin.

UIImage.FromNamedImage Method

Creates an image object from the specified named asset.

shared FromNamedImage(
   imageName as String) as EinhuguriOSBridge.UIImage

Parameters

imageName
The name of the image asset or file. For images in asset catalogs, specify the name of the image asset. For PNG images, you may omit the filename extension. For all other file formats, always include the filename extension.

Returns

EinhuguriOSBridge.UIImage

Remarks

This is preliminary implementation as we do not support trait collections and such yet.

See Also

UIImage Class